package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class NftRegionBindingEditDTO {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "藏品id")
    private Long collectionId;

    @ApiModelProperty(value = "省份id")
    private Long provinceId;

    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "地区id")
    private Long regionId;

    @ApiModelProperty(value = "省份名字")
    private String provinceName;

    @ApiModelProperty(value = "城市名字")
    private String cityName;

    @ApiModelProperty(value = "地区名字")
    private String regionName;

    public Boolean regionalVerifying(String provinceName, String cityName, String regionName, Long collectionId) {
        return this.provinceName.equals(provinceName) && this.cityName.equals(cityName) && this.regionName.equals(regionName) && this.collectionId.equals(collectionId);
    }
}
